package com.yilong.wei.app.service.impl;

import com.yilong.wei.app.dao.AreaDataMapper;
import com.yilong.wei.app.dao.CityMapper;
import com.yilong.wei.app.domain.AreaData;
import com.yilong.wei.app.service.AreaDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: wei
 * @description: CityService 服务层
 * @author: SOS
 * @create: 2019-07-05 11:06
 **/
@Service
public class AreaDataServiceImpl implements AreaDataService {

    @Autowired
    private AreaDataMapper areaDataMapper;

    @Override
    public AreaData selectByPrimaryKey(String id) {
        return areaDataMapper.selectByPrimaryKey(id);
    }

    @Override
    public int insert(AreaData areaData) {
        return areaDataMapper.insert(areaData);
    }

    @Override
    public int updateByPrimaryKey(AreaData areaData) {
        return areaDataMapper.updateByPrimaryKey(areaData);
    }
}
